
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>平台</title>
<style type="text/css">
body {
	font-size: 12px;
}

.nav>li>a {
	padding: 5px 10px;
}

.tab-content {
	padding-top: 3px;
}
</style>
<!--Bootstrap-->
<link href="/static/bootstrap/css/bootstrap.min.css"
	rel="stylesheet" />
<!-- Font Awesome -->
<link href="/static/font-awesome-4.7.0/css/font-awesome.min.css"
	rel="stylesheet" />
<link href="/static/sidebar-menu/sidebar-menu.css"
	rel="stylesheet" />
<link href="/static/ace/css/ace-rtl.min.css"
	rel="stylesheet" />
<link href="/static/ace/css/ace-skins.min.css"
	rel="stylesheet" />
<link href="/static/toastr/toastr.min.css" rel="stylesheet" />

<script src="/static/jquery-1.9.1.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/sidebar-menu/sidebar-menu.js"></script>
<script src="/static/bootstrap/js/bootstrap-tab.js"></script>
<script>
	history.pushState(null, null, document.URL);
	window.addEventListener('popstate', function () {
		history.pushState(null, null, document.URL);
	});
</script>
</head>
<body>
	<div class="navbar navbar-default" id="navbar">
		<div class="navbar-container" id="navbar-container">
			<div class="navbar-header pull-left">
				<a href="#" class="navbar-brand"> <small> <i
						class="fa fa-bank "></i> 后台管理系统
				</small>
				</a>
			</div>

			<div class="navbar-header pull-right" role="navigation">
				<div
					style="background-color: #579ec8 !important; color: #fff; height:45px; line-height:45px; margin-right: 50px;">
					&nbsp;&nbsp;欢迎光临,
					&nbsp;&nbsp; <a href="/do/login/logout.do"
						style="color: #fff;"> <i class="fa fa-sign-out"></i> 退出
					</a>&nbsp;&nbsp;
				</div>
			</div>

			</div>
		</div>

	</div>
	<div class="main-container" id="main-container">
		<div class="main-container-inner">
			<a class="menu-toggler" id="menu-toggler" href="#"> <span
				class="menu-text"></span>
			</a>
			<div class="sidebar" id="sidebar">
				<ul class="nav nav-list" id="menu"></ul>
				<div class="sidebar-collapse" id="sidebar-collapse">
					<i class="icon-angle-double-left fa fa-angle-double-left"
						data-icon1="fa fa-angle-double-left"
						data-icon2="fa fa-angle-double-right"></i>
				</div>
			</div>
			<div class="main-content">
				<div class="page-content">
					<div class="row">
						<div class="col-xs-12" style="padding-left:5px;">
							<ul class="nav nav-tabs" role="tablist">
								<li class="active"><a href="#Index" role="tab"
									data-toggle="tab">首页</a></li>
							</ul>
							<div class="tab-content" style="height:865px">
								<div role="tabpanel" class="tab-pane active" id="Index"
									style="height:100%">
									<h2>欢迎进入后台管理系统</h2>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>

		</div>
		<a href="#" id="btn-scroll-up"
			class="btn-scroll-up btn btn-sm btn-inverse"> <i
			class="icon-double-angle-up icon-only bigger-110"></i>
		</a>
	</div>
	<script type="text/javascript">
		//获取用户的菜单
        $(function () {
            $.ajax({
				url:"/do/menu/init",
				dataType:"json",
				type:"get",
				success:function(data){
                    menuInit(data);
				}
			})
        });
        function menuInit(menu) {
            $('#menu').sidebarMenu({
                data: menu
            });
        }

    </script>
	<script src="/static/ace/js/ace-extra.min.js"></script>
	<script src="/static/ace/js/ace.min.js"></script>
</body>
</html>